<?php
/**注意此文档为UTF-8的编码.
 * Created on 2010-5-29
 *
 * @author EXT <isrn@qq.com>
 *
 */


/*设置时区*/
if(function_exists('date_default_timezone_set')) {
    @date_default_timezone_set("Asia/Shanghai");
}
$Tp->template_dir =$_SERVER['DOCUMENT_ROOT'].ROOT_PATH.HTLJ."mb/";
$Tp->compile_dir = $_SERVER['DOCUMENT_ROOT'].ROOT_PATH.HTLJ."temp/compiles/";
$Tp->cache_dir = $_SERVER['DOCUMENT_ROOT'].ROOT_PATH.HTLJ."temp/cache/";
$Tp->config_dir = $_SERVER['DOCUMENT_ROOT'].ROOT_PATH.HTLJ."temp/configs/";
$Tp->trusted_dir = $_SERVER['DOCUMENT_ROOT'].ROOT_PATH.HTLJ."";
//多语言系统
if(!isset($_SESSION['HTLG'])) {
    $_SESSION['HTLG']='zh';//
}
if(!isset($_SESSION['HTXS'])&&$_SESSION['HTLG']=='zh') {
    $_SESSION['HTXS']='zh';
}else{
	$_SESSION['HTXS']=$_SESSION['HTLG'];
	}
if($_SESSION['HTXS']=='bg') {
    $_SESSION['HTLG']='zh';
}
$Tp->assign('HTLG',$_SESSION['HTLG']);
$Tp->assign('HTXS',$_SESSION['HTXS']);
include ($_SERVER['DOCUMENT_ROOT'].ROOT_PATH.HTLJ."lang/".$_SESSION['HTXS'].".php");
$Tp->assign('clg',$clg);
$standlang=array('zh'=>'中文','en'=>'英语','kr'=>'韩语','ru'=>'俄语','jp'=>'日语');
?>